package com.maven.front.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
public class RequestLog {

    private  String url;
    private String ip;
    private Object classMethod;
    private List objecs;
    private Date date;
    private Object result;

    public RequestLog(String url, String ip, Object classMethod, ArrayList<Object> objecs, Date date){
        this.url=url;
        this.ip=ip;
        this.classMethod=classMethod;
        this.objecs=objecs;
        this.date=new Date();

    }

}
